GET https://api.storenvy.com/v1/shipping_rate
Get a Shipping Rate for a certain combination of Shipping Group and Shipping Class.
Required Parameters
shipping_group_id |
The numerical ID of the Shipping Group. |
shipping_class_id |
The numerical ID of the Shipping Class. |
Example response:
{ "data": { "shipping_group": { "id": 1, "name": "T-shirts", "products": [ 1, 2, 3 ], "shipping_rates": [ { "shipping_rate": { "shipping_class_id": 1, "first_item_in_cents": 450, "additional_item_in_cents": 150 } }, { "shipping_rate": { "shipping_class_id": 2, "first_item_in_cents": 750, "additional_item_in_cents": 500 } } ] }, "shipping_class": { "id": 1, "name": "Standard", "countries": [ "US" ], "shipping_rates": [ { "shipping_rate": { "shipping_group_id": 1, "first_item_in_cents": 450, "additional_item_in_cents": 150 } } ] } }, "meta": { "code": 200, "api_version": "1.0" } }